import http from '../util/request.js';

export default {
    admindologin:(params)=>{
        return http({
            url:'api/login/admin/dologin',
            method:'post',
            params:params
        });
    },

    userdologin:(params)=>{
        return http({
            url:'api/login/user/dologin',
            method:'post',
            params:params
        });
    },
    getadminloginbean:()=>{
        return http({
            url:'api/login/admin/bean',
            method:'get',
        });
    },
    getuserloginbean:()=>{
        return http({
            url:'api/login/user/bean',
            method:'get',
        });
    },
}